/* ==================
         聊天
 ==================== */
 
view, scroll-view, swiper, button, input, textarea, label, navigator, image {
  box-sizing: border-box;
}

 .cu-chat {
  display: flex;
  flex-direction: column;
}

.cu-avatar {
  font-variant: small-caps;
  margin: 0;
  padding: 0;
  display: inline-flex;
  text-align: center;
  justify-content: center;
  align-items: center;
 
  color: #fff;
  white-space: nowrap;
  position: relative;
  width: 64rpx;
  height: 64rpx;
  background-size: cover;
  background-position: center;
  vertical-align: middle;
  font-size: 1.5em;
}

.cu-chat .cu-item {
  display: flex;
  padding: 30rpx 30rpx 70rpx;
  position: relative;
}

.cu-chat .cu-item>.cu-avatar {
  width: 80rpx;
  height: 80rpx;
}

.cu-chat .cu-item>.main {
  max-width: calc(100% - 200rpx);
  margin: 0 20rpx;
  display: flex;
  align-items: center;
}

.cu-chat .cu-item>image {
  height: 320rpx;
}
.cu-chat .chatgoods{
  /* max-width: calc(100% - 260rpx);
  margin: 0 40rpx; */
  text-align: left;
 
  border-radius: 10rpx;
  display: flex;
    flex-direction: column;
    width: 100%;
}
.cu-chat .chatgoods .main {
  display: flex;
}
.cu-chat .chatgoods image{
  margin-top: 15rpx;
  /* border: 1px solid #666; */
  padding:0px;
}
.cu-chat .chatgoods .text-pink{
  font-size: 32rpx;
  margin-top: 15rpx;
  overflow: hidden;
}
.cu-chat .cu-item>.main .content {
  padding: 20rpx;
  border-radius: 6rpx;
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  font-size: 30rpx;
  position: relative;
  min-height: 80rpx;
  line-height: 40rpx;
  text-align: left;
  word-wrap:break-word;
  word-break:break-all;
}

.cu-chat .cu-item>.main .content:not([class*="bg-"]) {
  background-color: #fff;
  color: #666;
}

.cu-chat .cu-item .date {
  position: absolute;
  font-size: 24rpx;
  color: #999;
  width: calc(100% - 320rpx);
  bottom: 20rpx;
  left: 160rpx;
}

.cu-chat .cu-item .action {
  padding: 0 30rpx;
  display: flex;
  align-items: center;
}

.cu-chat .cu-item>.main .content::after {
  content: "";
  top: 27rpx;
  transform: rotate(45deg);
  position: absolute;
  z-index: 100;
  display: inline-block;
  overflow: hidden;
  width: 24rpx;
  height: 24rpx;
  left: -12rpx;
  right: initial;
  background-color: inherit;
}

.cu-chat .cu-item.aui-chat-right>.main .content::after {
  left: auto;
  right: -12rpx;
} 

.cu-chat .cu-item>.main .content::before {
  content: "";
  top: 30rpx;
  transform: rotate(45deg);
  position: absolute;
  z-index: -1;
  display: inline-block;
  overflow: hidden;
  width: 24rpx;
  height: 24rpx;
  left: -12rpx;
  right: initial;
  background-color: inherit;
  filter: blur(5rpx);
  opacity: 0.3;
}

.cu-chat .cu-item>.main .content:not([class*="bg-"])::before {
  background-color: black;
  opacity: 0.1;
}

.cu-chat .cu-item.aui-chat-right>.main .content::before {
  left: auto;
  right: -12rpx;
}

.cu-chat .cu-item.aui-chat-right {
  justify-content: flex-end;
  text-align: right;
}

.cu-chat .cu-info {
  display: inline-block;
  margin: 20rpx auto;
  font-size: 24rpx;
  padding: 8rpx 12rpx;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 6rpx;
  color: #fff;
  max-width: 400rpx;
  line-height: 1.4;
}
/*==========================
    自定义样式
============================*/

.shadow[class*="-green"] {
  box-shadow: 6rpx 6rpx 8rpx rgba(48, 156, 63, 0.2);
}

.shadow {
  box-shadow: 0 1rpx 6rpx rgba(0, 0, 0, 0.1);
}

.bg-green {
  background-color: #3CADC2;
  color: #fff;
}
.radius{
  border-radius: 10rpx;
}

.cu-chat .cu-item>.main .content:not([class*="bg-"]) {
  background-color: #fff;
  color: #222;
  word-wrap:break-word;
}

/*=======================
底部 发布框
=========================*/
.cu-bar {
  display: flex;
  position: relative;
  align-items: center;
  min-height: 100rpx;
  justify-content: space-between;
}

.cu-bar.input {
  padding-right: 20rpx;
  background-color: #fff;
}

.cu-bar.input input {
  overflow: initial;
  line-height: 64rpx;
  height: 64rpx;
  min-height: 64rpx;
  flex: 1;
  font-size: 30rpx;
  margin: 0 20rpx;
  border: #ccc 1px solid;
  border-radius: 10rpx;
  background-color: #f1f1f1;
  padding-left: 10rpx;
}

.cu-bar .action {
  display: flex;
  align-items: center;
  height: 100%;
  justify-content: center;
  max-width: 100%;
}

.cu-bar.input .action {
  margin-left: 20rpx;
}

.cu-bar.input .action [class*="icon"] {
  font-size: 48rpx;
}

.cu-bar.input input+.action {
  margin-right: 20rpx;
  margin-left: 0rpx;
}

.cu-bar.input .action:first-child [class*="icon"] {
  margin-left: 0rpx;
}

.cu-bar.foot {
  position: fixed;
  width: 100%;
  bottom: 0;
  z-index: 1024;
  box-shadow: 0 -1rpx 6rpx rgba(0, 0, 0, 0.1);
}

.cu-custom {
  display: block;
  position: relative;
}

.cu-custom .cu-bar .content {
  width: calc(100% - 440rpx);
}

.cu-custom .cu-bar {
  min-height: 0px;
  padding-right: 200rpx;
  box-shadow: 0rpx 0rpx 0rpx;
  z-index: 9999;
}

.cu-custom .cu-bar .content image {
  height: 60rpx;
  width: 240rpx;
}

.cu-custom .cu-bar .border-custom {
  position: relative;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 1000rpx;
  height: 30px;
}

.cu-custom .cu-bar .border-custom::after {
  content: " ";
  width: 200%;
  height: 200%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: inherit;
  transform: scale(0.5);
  transform-origin: 0 0;
  pointer-events: none;
  box-sizing: border-box;
  border: 1rpx solid #fff;
  opacity: 0.5;
}

.cu-custom .cu-bar .border-custom::before {
  content: " ";
  width: 1rpx;
  height: 110%;
  position: absolute;
  top: 22.5%;
  left: 0;
  right: 0;
  margin: auto;
  transform: scale(0.5);
  transform-origin: 0 0;
  pointer-events: none;
  box-sizing: border-box;
  opacity: 0.6;
  background-color: #fff;
}

.cu-custom .cu-bar .border-custom text {
  display: block;
  flex: 1;
  margin: auto !important;
  text-align: center;
  font-size: 34rpx;
}

/* ==================
          列表
 ==================== */

 .grayscale {
  filter: grayscale(1);
}

.cu-list+.cu-list {
  margin-top: 30rpx;
}

.cu-list>.cu-item {
  transition: all 0.6s ease-in-out 0s;
  transform: translateX(0rpx);
}

.cu-list>.cu-item.move-cur {
  transform: translateX(-260rpx);
}

.cu-list>.cu-item .move {
  position: absolute;
  right: 0;
  display: flex;
  width: 260rpx;
  height: 100%;
  transform: translateX(100%);
}

.cu-list>.cu-item .move view {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
}

.cu-list.menu-avatar {
  overflow: hidden;
}

.cu-list.menu-avatar>.cu-item {
  position: relative;
  display: flex;
  padding-right: 30rpx;
  height: 140rpx;
  background-color: #fff;
  justify-content: flex-end;
  align-items: center;
}

.cu-list.menu-avatar>.cu-item>.cu-avatar {
  position: absolute;
  left: 30rpx;
}

.cu-list.menu-avatar>.cu-item .flex .text-cut {
  max-width: 510rpx;
}

.cu-list.menu-avatar>.cu-item .content {
  position: absolute;
  left: 146rpx;
  width: calc(100% - 96rpx - 120rpx - 120rpx - 20rpx);
  line-height: 1.6em;
}

.cu-list.menu-avatar>.cu-item .content.flex-sub {
  width: calc(100% - 96rpx - 60rpx - 20rpx);
}

.cu-list.menu-avatar>.cu-item .content>view:first-child {
  font-size: 30rpx;
  display: flex;
  align-items: center;
}

.cu-list.menu-avatar>.cu-item .content .cu-tag.sm {
  display: inline-block;
  margin-left: 10rpx;
  height: 28rpx;
  font-size: 16rpx;
  line-height: 32rpx;
}

.cu-list.menu-avatar>.cu-item .action {
  width: 100rpx;
  text-align: center;
  margin-right: 10rpx;
}

.cu-list.menu-avatar>.cu-item .action view+view {
  margin-top: 10rpx;
}

.cu-list.menu-avatar.comment>.cu-item  .content {
  position: relative;
  left: 0;
  width: auto;
  flex: 1;
}

.cu-list.menu-avatar.comment>.cu-item {
  padding: 30rpx 30rpx 30rpx 120rpx;
  height: auto;
}

.cu-list.menu-avatar.comment .cu-avatar {
  align-self: flex-start;
}

.cu-list.menu>.cu-item {
  position: relative;
  display: flex;
  padding: 0 30rpx;
  min-height: 100rpx;
  background-color: #fff;
  justify-content: space-between;
  align-items: center;
}

.cu-list.menu>.cu-item:last-child:after {
  border: none;
}

.cu-list.menu>.cu-item:after {
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  width: 200%;
  height: 200%;
  border-bottom: 1rpx solid #ddd;
  border-radius: inherit;
  content: " ";
  transform: scale(0.5);
  transform-origin: 0 0;
  pointer-events: none;
}

.cu-list.menu>.cu-item.grayscale {
  background-color: #f5f5f5;
}

.cu-list.menu>.cu-item.cur {
  background-color: #fcf7e9;
}

.cu-list.menu>.cu-item.arrow {
  padding-right: 90rpx;
}

.cu-list.menu>.cu-item.arrow:before {
  content: "\e6a3";
  position: absolute;
  top: 0;
  right: 30rpx;
  bottom: 0;
  display: block;
  margin: auto;
  width: 30rpx;
  height: 30rpx;
  color: black;
  text-align: center;
  font-size: 34rpx;
  font-family: cuIcon;
  line-height: 30rpx;
}

.cu-list.menu>.cu-item button.content {
  padding: 0;
  background-color: transparent;
  justify-content: flex-start;
}

.cu-list.menu>.cu-item button.content:after {
  display: none;
}

.cu-list.menu>.cu-item .cu-avatar-group .cu-avatar {
  border-color: #fff;
}

.cu-list.menu>.cu-item .content>view:first-child {
  display: flex;
  align-items: center;
}

.cu-list.menu>.cu-item .content>text[class*=icon] {
  display: inline-block;
  margin-right: 10rpx;
  width: 1.6em;
  text-align: center;
}

.cu-list.menu>.cu-item .content>image {
  display: inline-block;
  margin-right: 10rpx;
  width: 1.6em;
  height: 1.6em;
  vertical-align: middle;
}

.cu-list.menu>.cu-item .content {
  font-size: 30rpx;
  line-height: 1.6em;
  flex: 1;
}

.cu-list.menu>.cu-item .content .cu-tag.sm {
  display: inline-block;
  margin-left: 10rpx;
  height: 28rpx;
  font-size: 16rpx;
  line-height: 32rpx;
}

.cu-list.menu>.cu-item .action .cu-tag:empty {
  right: 10rpx;
}

.cu-list.menu {
  display: block;
  overflow: hidden;
}

.cu-list.menu.sm-border>.cu-item:after {
  left: 30rpx;
  width: calc(200% - 120rpx);
}

.cu-list.grid>.cu-item {
  position: relative;
  display: flex;
  padding: 20rpx 0 30rpx;
  transition-duration: 0s;
  flex-direction: column;
}

.cu-list.grid>.cu-item:after {
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  width: 200%;
  height: 200%;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: inherit;
  content: " ";
  transform: scale(0.5);
  transform-origin: 0 0;
  pointer-events: none;
}

.cu-list.grid>.cu-item text {
  display: block;
  margin-top: 10rpx;
  color: #888;
  font-size: 26rpx;
  line-height: 40rpx;
}

.cu-list.grid>.cu-item [class*=icon] {
  position: relative;
  display: block;
  margin-top: 20rpx;
  width: 100%;
  font-size: 48rpx;
}

.cu-list.grid>.cu-item .cu-tag {
  right: auto;
  left: 50%;
  margin-left: 20rpx;
}

.cu-list.grid {
  background-color: #fff;
  text-align: center;
}

.cu-list.grid.no-border>.cu-item {
  padding-top: 10rpx;
  padding-bottom: 20rpx;
}

.cu-list.grid.no-border>.cu-item:after {
  border: none;
}

.cu-list.grid.no-border {
  padding: 20rpx 10rpx;
}

.cu-list.grid.col-3>.cu-item:nth-child(3n):after,
.cu-list.grid.col-4>.cu-item:nth-child(4n):after,
.cu-list.grid.col-5>.cu-item:nth-child(5n):after {
  border-right-width: 0;
}

.cu-list.card-menu {
  overflow: hidden;
  margin-right: 30rpx;
  margin-left: 30rpx;
  border-radius: 20rpx;
}

.cu-avatar.lg {
  width: 96rpx;
  height: 96rpx;
  font-size: 2em;
}
.text-sm{
  font-size: 24rpx;
}
.flex{
  display: flex;
}

/* ==================
          徽章
 ==================== */

 .cu-tag {
  font-size: 24rpx;
  vertical-align: middle;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0rpx 16rpx;
  height: 48rpx;
  font-family: Helvetica Neue, Helvetica, sans-serif;
  white-space: nowrap;
}

.cu-tag:not([class*="bg"]):not([class*="line"]) {
  background-color: #f1f1f1;
}

.cu-tag[class*="line-"]::after {
  content: " ";
  width: 200%;
  height: 200%;
  position: absolute;
  top: 0;
  left: 0;
  border: 1rpx solid currentColor;
  transform: scale(0.5);
  transform-origin: 0 0;
  box-sizing: border-box;
  border-radius: inherit;
  z-index: 1;
  pointer-events: none;
}

.cu-tag.radius[class*="line"]::after {
  border-radius: 12rpx;
}

.cu-tag.round[class*="line"]::after {
  border-radius: 1000rpx;
}

.cu-tag[class*="line-"]::after {
  border-radius: 0;
}

.cu-tag+.cu-tag {
  margin-left: 10rpx;
}

.cu-tag.sm {
  font-size: 20rpx;
  padding: 0rpx 12rpx;
  height: 32rpx;
}

.cu-capsule {
  display: inline-flex;
  vertical-align: middle;
}

.cu-capsule+.cu-capsule {
  margin-left: 10rpx;
}

.cu-capsule .cu-tag {
  margin: 0;
}

.cu-capsule .cu-tag[class*="line-"]:last-child::after {
  border-left: 0rpx solid transparent;
}

.cu-capsule .cu-tag[class*="line-"]:first-child::after {
  border-right: 0rpx solid transparent;
}

.cu-capsule.radius .cu-tag:first-child {
  border-top-left-radius: 6rpx;
  border-bottom-left-radius: 6rpx;
}

.cu-capsule.radius .cu-tag:last-child::after,
.cu-capsule.radius .cu-tag[class*="line-"] {
  border-top-right-radius: 12rpx;
  border-bottom-right-radius: 12rpx;
}

.cu-capsule.round .cu-tag:first-child {
  border-top-left-radius: 200rpx;
  border-bottom-left-radius: 200rpx;
  text-indent: 4rpx;
}

.cu-capsule.round .cu-tag:last-child::after,
.cu-capsule.round .cu-tag:last-child {
  border-top-right-radius: 200rpx;
  border-bottom-right-radius: 200rpx;
  text-indent: -4rpx;
}

.cu-tag.badge {
  border-radius: 200rpx;
  position: absolute;
  top: -10rpx;
  right: -10rpx;
  font-size: 20rpx;
  padding: 0rpx 10rpx;
  height: 28rpx;
  color: #fff;
}

.cu-tag.badge:not([class*="bg-"]) {
  background-color: #dd514c;
}

.cu-tag:empty:not([class*="icon"]) {
  padding: 0rpx;
  width: 16rpx;
  height: 16rpx;
  top: -4rpx;
  right: -4rpx;
}

.cu-tag[class*="icon"] {
  width: 32rpx;
  height: 32rpx;
  top: -4rpx;
  right: -4rpx;
}
.bg-blue {
  background-color: #dd514c;
  border-radius: 15rpx;
  color: #fff;
}
 .text-cut {
  max-width: 410rpx;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}